home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (C) 1993, 1994 Marc Parmet.
- * This file is part of the Macintosh port of GNU Emacs.
- *
- * GNU Emacs is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
- /*
- This is the routine we install in the System heap when Emacs starts
- up. We patch the constant to point to the Unix emulation dispatch
- routine. We install this routine as a Gestalt selector, answering to
- code 'uniX'. With the result this routine provides, utility programs
- like ls and grep can use Unix I/O functions provided by Emacs.
- */
-
- pascal OSErr
- main(OSType selector,long *response)
- {
- *response = 0x89abcdef;
- return noErr;
- }
-